package com.erdos.core.entity;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.erdos.common.entity.AbstractEntity;

public class AttributeValueVO extends AbstractEntity {
    /** 对象代码 */
    private String object;

    /** 业务对象主键  */
    private Long instanceSid;

    /** 属性值   */
    private String attributeValue;

    /** Field主键 */
    private Long fieldSid;

    /** FieldID */
    private String fieldId;

    /** 对该属性的字面描述 */
    private String label;

    /** 下限  */
    private Double lowerLimit;

    /** 上限 */
    private Double upperLimit;

    /** 属性描述 */
    private String attrDesc;

    /** 属性分组 */
    private String attributeGroup;

    /** 上下限区间类型 */
    private String rangeType;

    /** 关联FieldVO对象 */
    private FieldVO fieldVO;

    public String getRangeType() {
        return rangeType;
    }

    public void setRangeType(String rangeType) {
        this.rangeType = rangeType;
    }

    public String getAttrDesc() {
        return attrDesc;
    }

    public void setAttrDesc(String attrDesc) {
        this.attrDesc = attrDesc;
    }

    public String getObject() {
        return object;
    }

    public void setObject(String object) {
        this.object = object;
    }

    public Long getInstanceSid() {
        return instanceSid;
    }

    public void setInstanceSid(Long instanceSid) {
        this.instanceSid = instanceSid;
    }

    public String getAttributeValue() {
        return attributeValue;
    }

    public void setAttributeValue(String attributeValue) {
        this.attributeValue = attributeValue;
    }

    public Long getFieldSid() {
        return fieldSid;
    }

    public void setFieldSid(Long fieldSid) {
        this.fieldSid = fieldSid;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    /**
     * @return the lowerLimit
     */
    public Double getLowerLimit() {
        return lowerLimit;
    }

    /**
     * @param lowerLimit the lowerLimit to set
     */
    public void setLowerLimit(Double lowerLimit) {
        this.lowerLimit = lowerLimit;
    }

    /**
     * @return the upperLimit
     */
    public Double getUpperLimit() {
        return upperLimit;
    }

    /**
     * @param upperLimit the upperLimit to set
     */
    public void setUpperLimit(Double upperLimit) {
        this.upperLimit = upperLimit;
    }

    public String getAttributeGroup() {
        return attributeGroup;
    }

    public void setAttributeGroup(String attributeGroup) {
        this.attributeGroup = attributeGroup;
    }

    public String getFieldId() {
        return fieldId;
    }

    public void setFieldId(String fieldId) {
        this.fieldId = fieldId;
    }

    public FieldVO getFieldVO() {
        return fieldVO;
    }

    public void setFieldVO(FieldVO fieldVO) {
        this.fieldVO = fieldVO;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return new ToStringBuilder(this).append("attrDesc", attrDesc).append(
                "attributeGroup", attributeGroup).append("attributeValue",
                attributeValue).append("fieldId", fieldId).append("fieldSid",
                fieldSid).append("fieldVO", fieldVO).append("instanceSid",
                instanceSid).append("label", label).append("lowerLimit",
                lowerLimit).append("object", object).append("rangeType",
                rangeType).append("upperLimit", upperLimit).toString();
    }
}